package com.devunion.reader.client.to;

import java.util.Date;

/**
 * @author Timoshenko Alexander 28.05.2009 : 1:04:08
 */
public class PaperInfoTo extends AbstractTo {
    public static String TYPE = "TYPE";
    public static String CREATION_EXACT_DATE = "CREATION_EXACT_DATE";
    public static String CREATION_START_DATE = "CREATION_START_DATE";
    public static String CREATION_END_DATE = "CREATION_END_DATE";
    public static String TITLE = "TITLE";
    public static String AUTHOR = "AUTHOR";
    public static String LANGUAGE = "LANGUAGE";
    public static String NUMBER_OF_PAGES = "NUMBER_OF_PAGES";

    public String getType() {
        return get(TYPE);
    }

    public void setType(String type) {
        set(TYPE, type);
    }

    public Date getCreationExactDate() {
        return get(CREATION_EXACT_DATE);
    }

    public void setCreationExactDate(Date creationExactDate) {
        set(CREATION_EXACT_DATE, creationExactDate);
    }

    public Date getCreationStartDate() {
        return get(CREATION_START_DATE);
    }

    public void setCreationStartDate(Date creationStartDate) {
        set(CREATION_START_DATE, creationStartDate);
    }

    public Date getCreationEndDate() {
        return get(CREATION_END_DATE);
    }

    public void setCreationEndDate(Date creationEndDate) {
        set(CREATION_END_DATE, creationEndDate);
    }

    public String getTitle() {
        return get(TITLE);
    }

    public void setTitle(String title) {
        set(TITLE, title);
    }

    public AuthorTo getAuthor() {
        return get(AUTHOR);
    }

    public void setAuthor(AuthorTo author) {
        set(AUTHOR, author);
    }

    public String getLanguage() {
        return get(LANGUAGE);
    }

    public void setLanguage(String language) {
        set(LANGUAGE, language);
    }

    public Integer getNumberOfPages() {
        return get(NUMBER_OF_PAGES);
    }

    public void setNumberOfPages(Integer numberOfPages) {
        set(NUMBER_OF_PAGES, numberOfPages);
    }
}
